import request from '@/api/socialized-servce/index.js' //引入http.js
const api = request

export default {
	
	// 获取产品分类
	queryByConditionProductType(params){
		let url = 'socialized-science/scienceProductType/queryByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 获取产品列表
	queryByConditionProduct(params){
		let url = 'socialized-science/scienceProduct/queryByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 获取产品列表 分页
	queryPageByConditionProduct(params){
		let url = 'socialized-science/scienceProduct/queryPageByCondition'
		return api.request(url,'post',{
			...params
		})
	},
	// 获取产品详情
	queryById(params) {
		let url = 'socialized-science/scienceProduct/queryById'
		return api.request(url, 'get', params)
	},
}